import {ExtPart} from './ext-part';
export class Part {
  constructor() {
    this.orderId = '';
    this.partId = '';
    this.partName = '';
    this.partHeight = 0;
    this.partWidth = 0;
    this.partExtend = 0;
    this.partColor = '';
    this.partTotalPrice = 0;
    this.partTotalSquare = 0;
    this.partPrice = 0;
    this.partDiscount = 1;
    this.partMinusDiscount = 0;
    this.createTime = '';
    this.updateTime = '';
    this.extPartList = [];
    this.extPartTotalPrice = 0;
  }
  orderId: string;
  partId: string;
  partName: string;
  partHeight: number;
  partWidth: number;
  partExtend: number;
  partColor: string;
  partTotalPrice: number;
  partTotalSquare: number;
  partPrice: number;
  partDiscount: number;
  partMinusDiscount: number;
  createTime: string;
  updateTime: string;
  extPartList: ExtPart[];
  extPartTotalPrice: number;
}
